<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"
  
    %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>

<style>
body
{
font-size:12px ;
}
table{
border:1px solid #bba;

}
td
{
border:1px solid #bba;
}
</style>
</head>
<body>


<table cellspacing="0" width="100%">
<tr>
<td>编号</td>
<td>书号</td>
<td>书名</td>
<td>作者</td>
<td>出版社</td>
<td>定价</td>
<td>出版日期</td>
</tr>

<c:forEach items="${book }" var="i">
<tr>
	<td>${i.id }</td>
	<td>${i.isbn }</td>
	<td>${i.name }</td>
	<td>${i.author }</td>
	<td>${i.press }</td>
	<td>${i.price }</td>
	<td>${i.pub_date }</td>
	<td><a href="service/bookservice?action=delete&id=${i.id }">删除</a></td>
</tr>
</c:forEach>

</table>


</body>
</html>